package com.oig.sys.workflow.constants;

public class ListenerEnums {

    private ListenerEnums(){}


    /**
     * 0-字段值发生任意变化  1-字段值变更为指定值  2-指定特定变更
     */
    public enum ProChgListenerType{
        ANY("0","字段值发生任意变化"),
        TARGET("1","字段值变更为指定值"),
        SPECIFIED("2","指定特定变更"),
        STEP("3","变更大于指定步长"),
        NUL_TO_ANY("4","从无变有"),
        ANY_TO_NUL("5","从有变无")
        ;
        private final String code;
        private final String name;

        public String getCode() {
            return code;
        }
        public String getName() {
            return name;
        }

        ProChgListenerType(String code, String name){
            this.code = code;
            this.name = name;
        }


    }


}
